package com.zhentao.controller;

import com.zhentao.pojo.TbCollege;
import com.zhentao.utils.Result;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.ArrayList;
import java.util.List;

@RestController
@RequestMapping("/college")
public class CollegeController {
    @RequestMapping("/find")
    public Result find(){
        List<TbCollege> list=new ArrayList<>();
        return list!=null?Result.OK(list):Result.ERROR();
    }
}
